package com.test.service;

import com.test.pojo.FoodType;

import java.util.List;

public interface FoodTypeService {
    List<FoodType> getAllFoodType();

    int updateFoodType(FoodType foodType);

    int deleteFoodType(int typeId);

    int addFoodType(FoodType foodType);

    List<FoodType> serachFoodType(String typeName);

    FoodType getFoodTypeByID( int typeId);
}
